<%@ page import="com.tonbeller.wcf.controller.RequestSynchronizer" %>
<%@ page session="true" contentType="text/html;" autoFlush="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%
	RequestSynchronizer requestSynchronizer = (RequestSynchronizer)session.getAttribute("requestSyncronizer");
	String requestURI = (String)request.getAttribute("requestURI");
	if(requestURI == null && requestSynchronizer != null) {
		requestURI = requestSynchronizer.getResultURI();
	}

	String pivotId = (String)request.getAttribute("pivotId");
	if(pivotId == null) {
		pivotId = request.getParameter("pivotId");
	}

	requestURI += "?pivotId=" + pivotId;
%>
<fmt:bundle basename="es.silenus.detecta.olap.Messages">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${pageContext.request.locale.language}" lang="${pageContext.request.locale.language}">
<head>
	<title><fmt:message key="pivot.busy.title"/></title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="refresh" content="2; URL=<%=requestURI%>">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/jpivot/base.css">
</head>
<body>
	<div class="pivot-header">
		<fmt:message key="pivot.busy.error"/>
	</div>
</body>
</html>
</fmt:bundle>